#ifndef LOCALINFO_H
#define LOCALINFO_H

#include <QWidget>
#include "blldataflow.h"
#include "versiondialog.h"
#include "project.h"

namespace Ui {
class LocalInfo;
}

class LocalInfo : public QWidget
{
    Q_OBJECT

public:
    explicit LocalInfo(QWidget *parent = nullptr);
    ~LocalInfo();

private slots:
    void retranslateUiSlot();
    void on_btnDetail_clicked();
    void onHostVersion(const QString &hostVersion);
    void onUpdateLocalInfo();

private:
    Ui::LocalInfo *ui;
    BllDataFlow * bdf;
    QString name;
    QString model;
    QString serial;
    QString mfr;
    QString addr;
    QString tel;
    QString configNum;
    QString upperPC;
    QString lowerPC;
    QString softVersion;
    QString hostVersion;

    VersionDialog * versionDialog;
};

#endif // LOCALINFO_H
